<template>
	<view class="content">
		<navigabar title='推荐城市运营商' />
		<image class="ui_bg" src="/static/img/bg_city.png" mode=""></image>
		<view class="ui_info">
			<view class="ui_info_text">推荐批发商</view>
			<view class="ui_info_num">27</view>
			<view class="ui_info_btn">邀请更多</view>
		</view>
		
		<view class="ui_item" v-for="(item,index) in 4" :key="index">
			<image class="ui_item_img" src="/static/logo.png" mode=""></image>
			<view class="ui_item_text">黎欢<p>城市运营商</p></view>
			<view class="ui_item_area">区域：南宁</view>
			<view class="ui_item_time">2025-05-20 加入</view>
			<view class="ui_item_info">
				<view class="ui_item_info_item">
					<view class="ui_item_info_item_num">5289.26</view>
					<view class="ui_item_info_item_text">批发总金额</view>
				</view>
				<view class="ui_item_info_line"></view>
				<view class="ui_item_info_item">
					<view class="ui_item_info_item_num">200</view>
					<view class="ui_item_info_item_text">总批发数</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {

		}
	}
</script>

<style lang="less">
	.content {
		width: 750rpx;
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;

		.ui_bg {
			position: absolute;
			top: 0;
			left: 0;
			width: 750rpx;
			height: 360rpx;
			z-index: 88;
		}
		
		.ui_item {
			margin: 20rpx 18rpx 0 18rpx;
			width: 714rpx;
			height: 270rpx;
			background: #FFFFFF;
			border-radius: 10rpx;
			display: flex;
			flex-direction: column;
			position: relative;
			&_img {
				margin-left: 27rpx;
				margin-top: 30rpx;
				width: 80rpx;
				height: 80rpx;
				border-radius: 40rpx;
			}
			&_text {
				position: absolute;
				top: 32rpx;
				left: 126rpx;
				font-family: PingFangSC;
				font-weight: 500;
				font-size: 32rpx;
				color: #2D2D2D;
				display: flex;
				align-items: center;
				p{
					margin-left: 5rpx;
					background: #E6EFFF;
					border-radius: 16rpx;
					font-family: PingFang SC;
					font-weight: 500;
					font-size: 20rpx;
					color: #248AF2;
					line-height: 32rpx;
					text-align: center;
					padding: 3rpx 10rpx;
				}
			}
			&_area {
				position: absolute;
				top: 80rpx;
				left: 126rpx;
				font-family: PingFang SC;
				font-weight: 500;
				font-size: 24rpx;
				color: #999999;
				line-height: 36rpx;
			}
			&_time {
				position: absolute;
				top: 40rpx;
				right: 23rpx;
				font-family: PingFang SC;
				font-weight: 500;
				font-size: 24rpx;
				color: #999999;
				line-height: 36rpx;
			}
			&_info {
				margin-top: 25rpx;
				margin-left: 20rpx;
				width: 674rpx;
				height: 110rpx;
				background: #F5F5F5;
				border-radius: 10rpx;
				display: flex;
				align-items: center;
				&_line {
					width: 1rpx;
					height: 60rpx;
					background: #CCCCCC;
				}
				&_item {
					flex: 1;
					display: flex;
					flex-direction: column;
					align-items: center;
					&_num {
						font-family: D-DIN Condensed;
						font-weight: bold;
						font-size: 36rpx;
						color: #333333;
					}
					&_text {
						margin-top: 5rpx;
						font-family: PingFang SC;
						font-weight: 500;
						font-size: 24rpx;
						color: #666666;
					}
				}
			}
		}
		
		.ui_info {
			margin-top: 20rpx;
			z-index: 89;
			width: 750rpx;
			display: flex;
			flex-direction: column;
			position: relative;
			padding-left: 55rpx;
			&_text {
				font-family: PingFang SC;
				font-weight: bold;
				font-size: 28rpx;
				color: #333333;
			}
			&_num {
				margin-top: 10rpx;
				font-family: D-DIN Condensed;
				font-weight: bold;
				font-size: 72rpx;
				color: #333333;
			}
			&_btn {
				position: absolute;
				right: 41rpx;
				top: 0rpx;
				width: 160rpx;
				line-height: 60rpx;
				text-align: center;
				background: linear-gradient(90deg, #C7974E, #986B28);
				border-radius: 30rpx;
				font-family: PingFang SC;
				font-weight: 500;
				font-size: 26rpx;
				color: #FFFFFF;
			}
		}
	}
</style>